package com.vteba.shards.table.bean;

import com.vteba.shards.table.model.ShardsTable;

public class JsonBean {
	private int code = 1; // 错误代码，1表示正常，其他自定义。为1时，message为空
	private String message;// 错误信息，code非1时，message才有值
	private ShardsTable shardsTable;// 返回的ShardsTable数据

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public ShardsTable getShardsTable() {
		return shardsTable;
	}

	public void setShardsTable(ShardsTable shardsTable) {
		this.shardsTable = shardsTable;
	}

}
